<template>
  <div class="elm-edit pfull" style="overflow: hidden;">
    <elm-page-tb>
      <template #top>
        <el-date-picker v-model="postData.now_year" type="year" value-format="yyyy" placeholder="选择年份" size="mini" style="width: 250px;" clearable></el-date-picker>
                <el-input v-model="postData.ei_name" placeholder="请输入接收人关键字" prefix-icon='el-icon-search' size="mini" style="width: 250px; margin-left: 10px;" clearable></el-input>
        <right>
          <el-button-group>
            <el-button icon="el-icon-search" size="mini" @click="tablebinding()">查询</el-button>
          </el-button-group>
        </right>
      </template>
      <elm-table url="/business/analysis/cockpit/GetZpWarningList" :post-data="postData" :show-index="true">
        <el-table-column prop="content" label="任务内容" align="center"></el-table-column>
        <el-table-column prop="ei_name" label="接收人" align="center" width="100px"></el-table-column>
        <el-table-column prop="zycd" label="重要程度" align="center" width="100px"></el-table-column>
        <el-table-column prop="jh_end_time" :formatter="formatDate" label="截止日期" align="center" width="200px"></el-table-column>
        <el-table-column prop="delay_days" label="滞后天数" width="100px" align="center"></el-table-column>
      </elm-table>
    </elm-page-tb>
  </div>
</template>

<script>
export default {
  extends: elmVueBase,
  data() {
    return {
      postData: {
        now_year: elm.parseTime(new Date(), '{y}'),
        state: elm.dialog.request.state,
        ei_name: null
      },
    }
  },
  created() {
  },
  mounted() {
  },
  methods: {
  
  }
}
</script>

<style scoped>
</style>